<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<title>飞腾会-FitaClub</title>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>
</head>
<!-- end header -->

<body>
  <div class="page-group">
    <div class="page page-current bg-light-gray">
      <header class="bar bar-nav fita-header">
        <a href="javascript:history.back(-1);" class="icon icon-left pull-left"></a>
        <a class="icon icon-menu pull-right open-panel"></a>
        <h1 class="title">个人中心</h1>
      </header>
      <div class="content profile-withdraw-content">
        <div style="margin: .5rem;">
		      <input type="text" class="withdraw" name="" value="" placeholder="请输入提现金额">
			    <div class="clearfix text">
			      <div class="pull-left" style="margin-top: .25rem;">最多可提现： <fmt:formatNumber value="${userWallet.amount/100}" minFractionDigits="0"></fmt:formatNumber>元</div>
			      <a href="javascript:void(0);" class="pull-right all-button" data-max="<fmt:formatNumber value="${userWallet.amount/100}" minFractionDigits="0"></fmt:formatNumber>">全部提现</a>
			    </div>
			    
			    <button class="button withdraw-button">申请提现</button>
			    <div class="withdraw-rule">
			      <p class="no-margin" style="margin-bottom: .25rem;">提现规则：</p>
			      <p class="no-margin">1.满100元方可提现</p>
			      <p class="no-margin">2.发出申请后，7个工作内财务打款</p>
			    </div>
			  </div>
      </div>
    </div>
    
    <div class="panel-overlay"></div>
    <div class="panel panel-right panel-cover fita-panel">
      <div class="list-block contacts-block no-margin">
        <p class="menu-title close-panel">关闭</p>
	      <ul>
	        <li>
	          <a href="${ctx.host}/cars/search" class="item-content item-link">
	            <div class="item-inner">
	              <div class="item-title">立即租车</div>
	            </div>
	          </a>
	        </li>
	        <li>
	          <a href="${ctx.host}/profile" class="item-content item-link">
	            <div class="item-inner">
	              <div class="item-title">个人中心</div>
	            </div>
	          </a>
	        </li>
	      </ul>
      </div>
    </div>
  </div>
  <!-- <a ctx.host="/order/order-staying-list">保留预定</a>
  <a ctx.host="/order/order-unpaid-list">未支付</a>
  <a ctx.host="/order/order-paid-list">已支付</a>
  <a ctx.host="/order/order-finished-list">已完成</a> -->
  <%@ include file="/WEB-INF/include/script.jsp"%>
  <d:resource type="script" root="${ctx.resource}/build" src="js/page/profile/profile-withdraw.js" />
  <script type="text/javascript">
    require(['page/profile/profile-withdraw'], function(page) {
      page.init()
    })
  </script>
 
</body>
</html>